#include <graphics.h>
#include "circle.h"
#include "screen.h"

void Circle::draw(void)
{
	draw(WHITE);
}

void Circle::draw(color_t color_cir)
{
	int stangle, endangle;
	switch (quad) {
	case 1:
		stangle = 0;
		endangle = 90;
		break;
	case 2:
		stangle = 90;
		endangle = 180;
		break;
	case 3:
		stangle = 180;
		endangle = 270;
		break;
	case 4:
		stangle = 270;
		endangle = 360;
		break;
	}
	setcolor(color_cir);
	arc(x, y, stangle, endangle, rad);
}
